package com.qumitech.visualnovel.datasource.editor;

import java.util.*;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.editor.BookClassifyConfDAO;

public interface BookClassifyConfDAOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BookClassifyConfDAO record);

    int insertSelective(BookClassifyConfDAO record);

    BookClassifyConfDAO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BookClassifyConfDAO record);

    int updateByPrimaryKey(BookClassifyConfDAO record);

    List<BookClassifyConfDAO> selectByCategory(@Param("ifRecommend") Boolean ifRecommend,
                                               @Param("classifyType") Integer classifyType);

    BookClassifyConfDAO selectByLabels(@Param("labels") String labels);
}